
import Mock from 'mockjs2'
import { builder } from '../util'

const getPassHead = () => {
  return builder(
    {
      'total': 5,
      'per_page': 15,
      'current_page': 1,
      'last_page': 5,
      'data': [
        {
          'user': '张凯',
          'jdg_id': 170,
          'jdg_user_id': 7,
          'jdg_acticity_id': '16535',
          'jdg_sku_name': '法国玛珐贝贝婴儿衣服礼盒自营新生儿衣服礼盒套装秋冬季新生儿用品纯棉男女宝宝满月百天礼物0-6-9个月',
          'jdg_sku_id': '66167246631',
          'jdg_shop_name': '玛珐贝贝京东自营旗舰店',
          'jdg_adowner_id': 'p_10259036',
          'jdg_shop_id': '10259036',
          'jdg_image_url': 'jfs/t1/105787/3/16653/593780/5e7b5e1dE1e5f9e70/27815350541b9203.png',
          'jdg_price': '135.00',
          'jdg_lowest_price': '135.00',
          'jdg_start_time': '2020-04-02',
          'jdg_end_time': '2020-04-11',
          'jdg_commission_rate': '6',
          'jdg_service_rate': '4',
          'jdg_union_id': null,
          'jdg_coupon_amount': null,
          'jdg_now_count': null,
          'jdg_send_num': null,
          'jdg_coupon_start_date': null,
          'jdg_coupon_end_date': null,
          'jdg_lapse_time': '2020-07-15 23:59:59',
          'jdg_new_rate': '0.00'
        },
        {
          'user': '张凯',
          'jdg_id': 10,
          'jdg_user_id': 5,
          'jdg_acticity_id': '16535',
          'jdg_sku_name': '法国玛珐贝贝婴儿衣服礼盒自营新生儿衣服礼盒套装秋冬季新生儿用品纯棉男女宝宝满月百天礼物0-6-9个月',
          'jdg_sku_id': '66167246631',
          'jdg_shop_name': '玛珐贝贝京东自营旗舰店',
          'jdg_adowner_id': 'p_10259036',
          'jdg_shop_id': '10259036',
          'jdg_image_url': 'jfs/t1/105787/3/16653/593780/5e7b5e1dE1e5f9e70/27815350541b9203.png',
          'jdg_price': '135.00',
          'jdg_lowest_price': '135.00',
          'jdg_start_time': '2021-04-02',
          'jdg_end_time': '2022-04-11',
          'jdg_commission_rate': '6',
          'jdg_service_rate': '4',
          'jdg_union_id': null,
          'jdg_coupon_amount': null,
          'jdg_now_count': null,
          'jdg_send_num': null,
          'jdg_coupon_start_date': null,
          'jdg_coupon_end_date': null,
          'jdg_lapse_time': '2020-07-15 23:59:59',
          'jdg_new_rate': '0.00'
        },
        {
          'user': '张凯',
          'jdg_id': 110,
          'jdg_user_id': 3,
          'jdg_acticity_id': '16535',
          'jdg_sku_name': '法国玛珐贝贝婴儿衣服礼盒自营新生儿衣服礼盒套装秋冬季新生儿用品纯棉男女宝宝满月百天礼物0-6-9个月',
          'jdg_sku_id': '66167246631',
          'jdg_shop_name': '玛珐贝贝京东自营旗舰店',
          'jdg_adowner_id': 'p_10259036',
          'jdg_shop_id': '10259036',
          'jdg_image_url': 'jfs/t1/105787/3/16653/593780/5e7b5e1dE1e5f9e70/27815350541b9203.png',
          'jdg_price': '135.00',
          'jdg_lowest_price': '135.00',
          'jdg_start_time': '2020-05-02',
          'jdg_end_time': '2020-05-11',
          'jdg_commission_rate': '6',
          'jdg_service_rate': '4',
          'jdg_union_id': null,
          'jdg_coupon_amount': null,
          'jdg_now_count': null,
          'jdg_send_num': null,
          'jdg_coupon_start_date': null,
          'jdg_coupon_end_date': null,
          'jdg_lapse_time': '2020-07-15 23:59:59',
          'jdg_new_rate': '0.00'
        },
        {
          'user': '张凯',
          'jdg_id': 150,
          'jdg_user_id': 5,
          'jdg_acticity_id': '16535',
          'jdg_sku_name': '法国玛珐贝贝婴儿衣服礼盒自营新生儿衣服礼盒套装秋冬季新生儿用品纯棉男女宝宝满月百天礼物0-6-9个月',
          'jdg_sku_id': '66167246631',
          'jdg_shop_name': '玛珐贝贝京东自营旗舰店',
          'jdg_adowner_id': 'p_10259036',
          'jdg_shop_id': '10259036',
          'jdg_image_url': 'jfs/t1/105787/3/16653/593780/5e7b5e1dE1e5f9e70/27815350541b9203.png',
          'jdg_price': '135.00',
          'jdg_lowest_price': '135.00',
          'jdg_start_time': '2020-01-02',
          'jdg_end_time': '2020-03-11',
          'jdg_commission_rate': '6',
          'jdg_service_rate': '4',
          'jdg_union_id': null,
          'jdg_coupon_amount': null,
          'jdg_now_count': null,
          'jdg_send_num': null,
          'jdg_coupon_start_date': null,
          'jdg_coupon_end_date': null,
          'jdg_lapse_time': '2020-07-15 23:59:59',
          'jdg_new_rate': '0.00'
        },
        {
          'user': '张凯',
          'jdg_id': 200,
          'jdg_user_id': 2,
          'jdg_acticity_id': '16535',
          'jdg_sku_name': '法国玛珐贝贝婴儿衣服礼盒自营新生儿衣服礼盒套装秋冬季新生儿用品纯棉男女宝宝满月百天礼物0-6-9个月',
          'jdg_sku_id': '66167246631',
          'jdg_shop_name': '玛珐贝贝京东自营旗舰店',
          'jdg_adowner_id': 'p_10259036',
          'jdg_shop_id': '10259036',
          'jdg_image_url': 'jfs/t1/105787/3/16653/593780/5e7b5e1dE1e5f9e70/27815350541b9203.png',
          'jdg_price': '135.00',
          'jdg_lowest_price': '135.00',
          'jdg_start_time': '2020-01-02',
          'jdg_end_time': '2020-09-11',
          'jdg_commission_rate': '6',
          'jdg_service_rate': '4',
          'jdg_union_id': null,
          'jdg_coupon_amount': null,
          'jdg_now_count': null,
          'jdg_send_num': null,
          'jdg_coupon_start_date': null,
          'jdg_coupon_end_date': null,
          'jdg_lapse_time': '2020-07-15 23:59:59',
          'jdg_new_rate': '0.00'
        }
      ]
    })
}
Mock.mock(/\/local\/getPassHead/, 'post', getPassHead)
